package com.example.shardingspheredemo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import static com.baomidou.mybatisplus.annotation.IdType.AUTO;

/**
 * @ClassName: TUser
 * @Description:
 * @Date 2024/04/17 15:36
 * @Author songshaoqiu
 **/
@Data
@TableName("t_user")
public class TUser {

    @TableId(type = AUTO)
    private Long id;

    private String uname;
}
